﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class DigiteDatosRegistro : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void btnBuscar_Click(object sender, EventArgs e)
    {
        Session["StrNumeroDocumento"] = txtNumeroDocumento.Text;
        Session["StrNumeroRegistro"] = txtNumeroRegistro.Text;
        System.Text.StringBuilder l_msg = new System.Text.StringBuilder();
        //TODO: Revisar esta impresión.
        l_msg.Append(@"<script language=javascript>");
        l_msg.Append(@"window.open('ReporteCertificacion.aspx" + @"', 'VentanaImpresion','location=0, status=0, directories=0, width=800, height=600, resizable=no, hotkeys=no, scrollbars=yes, toolbar=no, menubar=no, personalbar=no');</script>");
        Response.Write(l_msg.ToString());
    }
}